home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW etc / MPW-GM / MPW / Examples / CFMExamples / CSharedLibrarySample / ShLibExample.r < prev   
Encoding:
Text File  |  1998-12-03  |  1.8 KB  |  54 lines  |  [TEXT/MPS ]

  1. /*
  2.  *   ShLibExample.r
  3.  *
  4.  *    resource file for sample C++ program
  5.  *
  6.  *    Copyright © 1994, Apple Computer, Inc.  All rights reserved.
  7.  */
  8.  
  9. #include "Types.r"
  10. #include "CodeFragmentTypes.r"
  11.  
  12. resource 'cfrg' (0) {
  13.    {
  14.       kPowerPC,                /* Target machine's Architecture. */
  15.       kFullLib,                /* This is not an update. */
  16.       kNoVersionNum,        /* Current version. */
  17.       kNoVersionNum,        /* Definition version. */
  18.       kDefaultStackSize,    /* Stack size of application. */
  19.       kNoAppSubFolder,        /* Not used here.  Can be the resource-id of an 'alis'
  20.                                resource.  Used to provide additional location
  21.                                to search for libraries. */
  22.       kIsApp,                /* This is an application (not a lib or drop-in). */
  23.       kOnDiskFlat,          /* This code fragment is on disk, in the data fork. */
  24.       kZeroOffset,            /* Offset of code into data fork. */
  25.       kWholeFork,           /* Code takes up all of data fork (can give a size). */
  26.       "ShLibExample",       /* Name of application. */
  27.  
  28.      'm68k',                /* Target machine's Architecture. */
  29.       kFullLib,                /* This is not an update. */
  30.       kNoVersionNum,        /* Current version. */
  31.       kNoVersionNum,        /* Definition version. */
  32.       kDefaultStackSize,    /* Stack size of application. */
  33.       kNoAppSubFolder,        /* Not used here.  Can be the resource-id of an 'alis'
  34.                                resource.  Used to provide additional location
  35.                                to search for libraries. */
  36.       kIsApp,                /* This is an application (not a lib or drop-in). */
  37.       kOnDiskSegmented,     /* This code fragment is on disk, in the resource fork. */
  38.       'rseg',                   /* code is type 'rseg' */
  39.       0,                       /* Size is computed */
  40.       "ShLibExample"        /* Name of application. */
  41.  
  42.    }
  43. };
  44.  
  45. resource 'vers' (1) {
  46.     0x2,
  47.     0x0,
  48.     development,
  49.     0xd,
  50.     verUS,
  51.     "2.0d1",
  52.     "Version 2.0d1.  Copyright © 1994, Apple Computer, Inc."
  53. };
  54.